package dy.app.enums;

import lombok.Getter;

/**
 * 缓存 key 统一枚举
 * Author: chenKai
 * Date: 2024/6/11
 */
@Getter
public enum CacheKeyEnums {
    /**
     * 后管
     */
    ADMIN_LOGIN_KEY("admin:login:%s", "后管登录缓存key token"),


    /**
     * app
     */
    APP_LOGIN_KEY("app:login:%s", "app登录缓存key open_id")
    ;


    private String key;

    private String value;


    CacheKeyEnums(String key, String value) {
        this.key = key;
        this.value = value;
    }
}
